﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ByteartRetail.Infrastructure.InterceptionBehaviors;
using Microsoft.Practices.Unity.InterceptionExtension;

namespace iTelluro.Explorer.Infrastructure.CrossCutting.InterceptionBehaviors
{
    public class ExceptionLogAttribute:HandlerAttribute
    {
        public override ICallHandler CreateHandler(Microsoft.Practices.Unity.IUnityContainer container)
        {
            //_currentContainer.AddNewExtension<Interception>().Configure<Interception>().SetInterceptorFor<IAvalancheAppService>(new InterfaceInterceptor());
            return new ExceptionLoggingBehavior();
        }
    }
}
